package com.itlong.cloud.sdk.service;

import com.itlong.cloud.POJO.PO.HotParamFlowRule;

import java.util.List;
import java.util.Map;


public interface IHotParamFlowRuleService {

    
    
    /**
    *<desc>
    * 查询url资源对应的规则
    *</desc>
    *
    * @Author  chengshican
    * @Date   2020-11-24 10:00
    * @Param  
    * @Return      
    * @Exception   
    * 
    */
    List<HotParamFlowRule> getHotParamFlowRule(Map<String, Object> param);



    /**
    *<desc>
    * 新增限流规则
    *</desc>
    *
    * @Author  chengshican
    * @Date   2020-11-24 10:00
    * @Param
    * @Return
    * @Exception
    *
    */
    Integer save(HotParamFlowRule hotParamFlowRule);




    /**
    *<desc>
    * 根据参数查询限流规则
    *</desc>
    *
    * @Author  chengshican
    * @Date   2020-11-24 10:02
    * @Param
    * @Return
    * @Exception
    *
    */
   HotParamFlowRule getFlowRuleByParam(Map<String, Object> param);

}
